//
//  MCMyBonusContractListModel.h
//  TLYL
//
//  Created by MC on 2017/11/6.
//  Copyright © 2017年 TLYL01. All rights reserved.
//

#import <Foundation/Foundation.h>
//简要描述：
//
//查看我的分红契约列表 （新制度）
//请求URL：
//
///web-api/api/v4/my_bonus_list
@interface MCMyBonusContractListModel : NSObject

@property(nonatomic,strong) void(^callBackSuccessBlock)(id manager);
@property(nonatomic,strong) void(^callBackFailedBlock)(id manager,NSString *errorCode);
- (void)refreashDataAndShow;

- (instancetype)initWithDic:(NSDictionary *)dic;

@end
//UserID    是    String    当前登录用户ID
//TypeParameterId    是    Int    分红类型id，从 get_system_type获取

@interface MCMyBonusContractListDataModel : NSObject

//@property (nonatomic,strong)NSArray * ContractContentModels;//数据列表
@property (nonatomic,strong)NSArray * MyBonusList;//我的当前分红数据
@property (nonatomic,strong)NSArray * ModifyList;//我的修改后分红数据
@property (nonatomic,strong)NSString *DataCount;//数据总条数
@property (nonatomic,strong)NSString *PageCount;//总页码数
@property (nonatomic,strong)NSString *ModifyTime;//修改时间"2018/1/18 20:51:20",

@end


@interface MCMyBonusContractListDeatailDataModel : NSObject


@property (nonatomic,strong)NSString *BetMoneyMin;//    Number    最小投注量
@property (nonatomic,strong)NSString *BetMoneyMax;//    Number    最大投注量（前端暂不显示此字段）
@property (nonatomic,strong)NSString *LossMoneyMin;//    Number    最小亏损额
@property (nonatomic,strong)NSString *LossMoneyMax;//    Number    最大亏损额（前端暂不显示此字段）
@property (nonatomic,strong)NSString *ActivePersonNum;//    Number    活跃人数
@property (nonatomic,strong)NSString *DividendRatio;//    Number    分红比例（前端显示需乘以100，并加 %）


@end

/*
"data":{
    "PageCount":1,
    "DataCount":6,
    "ModifyTime":"2018/1/18 20:51:20",
    "MyBonusList":[
                   {
                       "BetMoneyMin":500000,
                       "BetMoneyMax":0,
                       "LossMoneyMin":0,
                       "LossMoneyMax":0,
                       "ActivePersonNum":0,
                       "DividendRatio":0.05
                   },
                   {
                       "BetMoneyMin":1000000,
                       "BetMoneyMax":0,
                       "LossMoneyMin":0,
                       "LossMoneyMax":0,
                       "ActivePersonNum":0,
                       "DividendRatio":0.1
                   }
                   ],
    "ModifyList":[
                  {
                      "DividendRatio":0.34,
                      "ActivePersonNum":0,
                      "LossMoneyMin":110,
                      "BetMoneyMin":110,
                      "BetMoneyMax":1,
                      "LossMoneyMax":2
                  },
                  {
                      "DividendRatio":0.04,
                      "ActivePersonNum":3,
                      "LossMoneyMin":2,
                      "BetMoneyMin":1,
                      "BetMoneyMax":999999999,
                      "LossMoneyMax":999999999
                  }
                  ]
}
*/










































